package javabasics.lambda;

/**
 * @Author suxiaoxiao
 * @Date 2019/6/4 0:28
 * @Version 1.0
 */
public class OutstandingClass {

    private String name;

    private Student student;

    public OutstandingClass(String name, Student student) {
        this.name = name;
        this.student = student;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Student getStudent() {
        return student;
    }

    public void setStudent(Student student) {
        this.student = student;
    }

    @Override
    public String toString() {
        return "OutstandingClass{" +
                "name='" + name + '\'' +
                ", student=" + student +
                '}';
    }

}
